import { axios } from '@/utils/request'
export function allGetRiseList(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/title/listInvoiceTitles',
    method: 'post',
    data:parameter
  })
}
export function riseAdd(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/title/saveInvoiceTitle',
    method: 'post',
    data:parameter
  })
}
export function riseEdit(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/title/updateInvoiceTitle',
    method: 'post',
    data:parameter
  })
}
export function riseDel(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/title/removeInvoiceTitle',
    method: 'post',
    data:parameter
  })
}
export function riseSetDefault(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/title/appointInvoiceTitle',
    method: 'post',
    data:parameter
  })
}
export function allGetMailsList(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/mail/listInvoiceMails',
    method: 'post',
    data:parameter
  })
}
export function mailsAdd(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/mail/saveInvoiceMaile',
    method: 'post',
    data:parameter
  })
}
export function mailsEdit(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/mail/updateInvoiceMail',
    method: 'post',
    data:parameter
  })
}
export function mailsDel(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/mail/removeInvoiceMail',
    method: 'post',
    data:parameter
  })
}
export function mailsSetDefault(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/mail/appointInvoiceMail',
    method: 'post',
    data:parameter
  })
}
export function allGetBillingParkList(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/listInvoices',
    method: 'post',
    data:parameter
  })
}
export function allGetBillingEnterpriseList(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/listNoneInvoices',
    method: 'post',
    data:parameter
  })
}
export function allGetBillingStateList(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/listEnterpriseInvoices',
    method: 'post',
    data:parameter
  })
}
export function allGetBillingInfo(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/invoiceInfo',
    method: 'post',
    data:parameter
  })
}
export function allGetBillingStatis(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/invoiceStatis',
    method: 'post',
    data:parameter
  })
}
export function billingAdd(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/saveInvoice',
    method: 'post',
    data:parameter
  })
}
export function billingCancel(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/abolish',
    method: 'post',
    data:parameter
  })
}
export function billingDetail(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/detail',
    method: 'post',
    data:parameter
  })
}
export function billingOperate(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/operate',
    method: 'post',
    data:parameter
  })
}
export function billingUpload(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/conserve',
    method: 'post',
    data:parameter
  })
}
export function billingDel(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/deleteInvoiceFileById',
    method: 'post',
    data:parameter
  })
}
export function billingEdit(parameter) {
  return axios({
    url: '/sys/pt/enterprise/invoice/uploadInvoiceFileByInvoiceId',
    method: 'post',
    data:parameter
  })
}